home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 4
/
Amiga Tools 4.iso
/
grafix
/
3d
/
dust
/
dusthelp2
/
morphs
< prev
next >
Wrap
Text File
|
1996-02-26
|
3KB
|
59 lines
Morphs
-----------------------------------------------------------------
Dust can morph two objects with any point-/edge- or face-count.
I developed the following four algorithms:
-Local Deform-Morphing: (CDEFORM, CDEFORMINTERP)
Local Morphing means morphing of curves (parts) of the
source-object into another curves of the destination-object.
The destination-curve can be interpolated using two real
curves of the destination-object.
Because only the source-object is deformed you can later use
the morph-feature of your renderer to create the metamorphosis.
(e.g. the STATES-function of Imagine)
The idea behind this comes from the 2D-morph-programs
like "MorphPlus". Here you have to specify which portion of
the source-Image is to morph into which region of the
destination-Image. Only this method can produce good results
because the "stupid" computer doesn't know what he is doing.
There are some additional commands and parameters which help
you using this commands.
-Global Deform-Morphing: (DEFORMMORPH)
This is a very strong and slow algorithm which often produces
very good results. Because it performs some kind of iteration
the number of created objects is unknown - but you can specify
the minimum. The final number of objects is stored to the
variable "result".
For good results the differences between the objects should be small.
(If you want to morph a tricycle into 25 balls you have to use the
Triangle-Morph-algorithm.)
Additional note: In the most cases this procedure won't produce
usable results. Therefore I developed the
local deform-operator which always produces
very good results - but it needs YOUR help.
-Triangle-Morphing:
procedure PMORPH
-creates two objects of the same triangle-count
-searches the closests triangles and resorts them
-searches the closest points and resorts them
procedure MORPH
-executes PMORPH
-executes a linear Morph (Imagine can do it for you,too)
-Build-Morphing
-kill the Source-Object while building the
Destination-Object:
linear: BUILDMORPH
randomly: BUILDMORPHRND
OBJECTIVE RATINGS:
CDEFORM: very good, no other algorithm can produce better results
DEFORMMORPH: works only sometimes, results may be good
PMORPH: looks very bad, works always
BUILDMORPH: may produce "beam-me-up"-effects, very seldom used